﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace syc.Produce
{
    public partial class 生产进度日报表2 : System.Web.UI.Page
    {
        protected string Notice = "";

        protected SqlConnection Conn = new SqlConnection();
        protected SqlCommand Cmd = new SqlCommand();
        protected SqlDataReader Reader;
        protected DateTime d1,d2,d3;

        protected decimal[] jindu1;
        protected decimal[] jindu2;
        protected int[] jindu3;
        protected int[] jindu4;
        protected decimal[] jindu5;

        protected void Page_Load(object sender, EventArgs e)
        {
             if (!this.IsPostBack || !DateTime.TryParse(this.Date1.Text, out d1))
            {
                this.Date1.Text = DateTime.Today.AddDays(-1).ToString("yyyy年M月d日");
                d1 = DateTime.Parse(this.Date1.Text);
            }
        }
    }
}
